package com.eifesun.monitor.application;

import java.util.LinkedList;
import java.util.List;

import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;

import com.sunxboy.platform.definition.ApplicationDefinitionProvider;

public class MipsAppDefinition implements ApplicationDefinitionProvider {

    public String getAppId() {
        return "mipsApp";
    }

    public List<Resource> getBeanResources() {
        List<Resource> resources = new LinkedList<Resource>();
        resources.add(new ClassPathResource("/application/context/application.xml"));
        return resources;
    }

    public String getAppBeanName() {
        return "mipsApp";
    }

}
